<template>
	<div class="contentWrap">
		<h1>{{ min_content }}</h1>
		<el-button type="success" @click="show_chicken">再来一碗</el-button>
		<!-- <el-row>
			
		</el-row> -->
		
	</div>
</template>

<script>
	import $ from 'jquery'
	export default {
		data() {
			return {
				comment: ''
			}
		},
		methods:{
			show_chicken() {
				$.ajax({
					url: 'https://api.muxiaoguo.cn/api/dujitang',
					data: {
						api_key: '17fc657dbddcd64c'
					},
					method: 'get'
				}).then(result => {
					this.comment = result.data.comment;
				})
			}
		},
		mounted() {
			this.show_chicken()
		}
	}
</script>

<style lang="scss">
	.contentWrap{
		text-align: center;
	}
</style>
